package com.ruoyi.production.mapper.graftingclip;

import java.util.List;
import com.ruoyi.common.annotation.PropertyInject;
import com.ruoyi.common.enums.InjectType;
import com.ruoyi.production.domain.graftingclip.GraftingclipApplyTemporary;

/**
 * 嫁接夹临时申请Mapper接口
 *
 * @author ruoyi
 * @date 2021-07-11
 */
public interface GraftingclipApplyTemporaryMapper
{
    /**
     * 查询嫁接夹临时申请
     *
     * @param graftingclipApplyTemporaryId 嫁接夹临时申请ID
     * @return 嫁接夹临时申请
     */
    public GraftingclipApplyTemporary selectGraftingclipApplyTemporaryById(Long graftingclipApplyTemporaryId);

    /**
     * 查询嫁接夹临时申请列表
     *
     * @param graftingclipApplyTemporary 嫁接夹临时申请
     * @return 嫁接夹临时申请集合
     */
    public List<GraftingclipApplyTemporary> selectGraftingclipApplyTemporaryList(GraftingclipApplyTemporary graftingclipApplyTemporary);

    /**
     * 新增嫁接夹临时申请
     *
     * @param graftingclipApplyTemporary 嫁接夹临时申请
     * @return 结果
     */
    @PropertyInject(type = InjectType.Insert)
    public int insertGraftingclipApplyTemporary(GraftingclipApplyTemporary graftingclipApplyTemporary);

    /**
     * 修改嫁接夹临时申请
     *
     * @param graftingclipApplyTemporary 嫁接夹临时申请
     * @return 结果
     */
    @PropertyInject(type = InjectType.Update)
    public int updateGraftingclipApplyTemporary(GraftingclipApplyTemporary graftingclipApplyTemporary);

    /**
     * 删除嫁接夹临时申请
     *
     * @param graftingclipApplyTemporaryId 嫁接夹临时申请ID
     * @return 结果
     */
    public int deleteGraftingclipApplyTemporaryById(Long graftingclipApplyTemporaryId);

    /**
     * 批量删除嫁接夹临时申请
     *
     * @param graftingclipApplyTemporaryIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteGraftingclipApplyTemporaryByIds(Long[] graftingclipApplyTemporaryIds);
}
